help on VPN Gateway samba browsing
Hi,
Hi, we are use VPN gateway to merge two Lan network to one.
Now any host in one Lan can access the host in another Lan by telnet, ftp, http, ping etc. we want to let the host(win2k) in one Lan can browsing the hosts in another Lan in network neighbour. So we want to use samba as the wins for the two Lan.
The problems is:
I can access the remote host in linux machine by
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
and the remote host can be browsing in the local network neighbor in win2K, but we can still not access it.
the error messages is:
The semaphone timeout period has expired.
Could you give me some suggestions?
=====================Remote configuration of smb===============
[global]
workgroup = WORKGROUP
wins support = yes
server string = Internal Docs, Downloads, and Web Pages os level = 1
short preserve case = yes
preserve case = yes
domain logons = no
local master = yes
lock directory = /var/lock/samba
locking = yes
strict locking = yes
share modes = yes
security = user
socket options = TCP_NODELAY
log file = /var/log/samba
;max log size = 5000
veto files = /Network Trash Folder/
encrypt passwords = yes
dead time = 5
debug level = 0
dns proxy = no
domain master = yes
guest account = guest
local master = yes
preferred master = yes
alternate permissions = no
case sensitive = no
default case = upper
delete readonly = yes
follow symlinks = yes
locking = yes
mangle case = no
map hidden = yes
map system = yes
oplocks = yes
preserve case = yes
short preserve case = yes
strict locking = yes
delete veto files = yes
wide links = yes
hosts allow = 192.168.100. 192.168.110. localhost 192.168.5. remote announce = 192.168.110.1 192.168.5.96 remote browse sync = 192.168.110.1 192.168.5.96
=====================Local configuration of smb===============
[global]
workgroup = WORKGROUP
netbios name = fileserver
server string = SDC Engineering FileServer
hosts allow = 192.168.5. 192.168.100. 127.
log file = /var/log/samba/%m.log
max log size = 3000
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote announce = 192.168.100.8
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U.bat
wins support = yes
dns proxy = no
A message that is not in the archive (sent off-list or not yet received): 003c01c21760$27974700$7c1e0a0a@mpintern
Hi robert,
Thanks,
I had used dhcp to get the winserver, see below.
I also can see the remote mahine (in another Lan) in my lan,
I can access it in windows by smbclients, but when I access it in windows, I got the error messages:
The semaphone timeout period has expired.
I donnot know why.
===========================================================================
c>: ipconfig /all
Physical Address. . . . . . . . . : 00-E0-18-48-DA-49
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.5.125
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.5.99
DHCP Server . . . . . . . . . . . : 192.168.5.96
DNS Servers . . . . . . . . . . . : 192.168.5.99
202.96.209.5
202.96.209.133
Primary WINS Server . . . . . . . : 192.168.5.96
Lease Obtained. . . . . . . . . . : 2002年6月18日 11:20:12
Lease Expires . . . . . . . . . . : 2002年6月18日 17:20:12 ----- Original Message -----
From: [email protected]
To: fred
Sent: Wednesday, June 19, 2002 12:08 AM
Subject: Re: help on VPN Gateway samba browsing
your os level should be over 65 to be wins server this beats all other , by wins browsing,
dont forget only one machine can be winsserver, use smbmount !
read faqs fom samba packet
regards
----- Original Message -----
From: fred
To: [email protected]
Sent: Friday, April 19, 2002 6:42 PM
Subject: help on VPN Gateway samba browsing
Hi,
Hi, we are use VPN gateway to merge two Lan network to one.
Now any host in one Lan can access the host in another Lan by telnet, ftp, http, ping etc. we want to let the host(win2k) in one Lan can browsing the hosts in another Lan in network neighbour. So we want to use samba as the wins for the two Lan.
The problems is:
I can access the remote host in linux machine by
mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
and the remote host can be browsing in the local network neighbor in win2K, but we can still not access it.
the error messages is:
The semaphone timeout period has expired.
Could you give me some suggestions?
=====================Remote configuration of smb===============
[global]
workgroup = WORKGROUP
wins support = yes
server string = Internal Docs, Downloads, and Web Pages os level = 1
short preserve case = yes
preserve case = yes
domain logons = no
local master = yes
lock directory = /var/lock/samba
locking = yes
strict locking = yes
share modes = yes
security = user
socket options = TCP_NODELAY
log file = /var/log/samba
;max log size = 5000
veto files = /Network Trash Folder/
encrypt passwords = yes
dead time = 5
debug level = 0
dns proxy = no
domain master = yes
guest account = guest
local master = yes
preferred master = yes
alternate permissions = no
case sensitive = no
default case = upper
delete readonly = yes
follow symlinks = yes
locking = yes
mangle case = no
map hidden = yes
map system = yes
oplocks = yes
preserve case = yes
short preserve case = yes
strict locking = yes
delete veto files = yes
wide links = yes
hosts allow = 192.168.100. 192.168.110. localhost 192.168.5. remote announce = 192.168.110.1 192.168.5.96 remote browse sync = 192.168.110.1 192.168.5.96
=====================Local configuration of smb===============
[global]
workgroup = WORKGROUP
netbios name = fileserver
server string = SDC Engineering FileServer
hosts allow = 192.168.5. 192.168.100. 127.
log file = /var/log/samba/%m.log
max log size = 3000
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 remote announce = 192.168.100.8
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
logon script = %U.bat
wins support = yes
dns proxy = no